﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Administrator/Views/Shared/admin.master" Inherits="System.Web.Mvc.ViewPage<CollegeWebsite.Areas.Administrator.Models.Faculty>" %>
<%@ Import Namespace="CollegeWebsite.Areas.Administrator.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Create</h2>
 <% Html.EnableClientValidation(); %>
    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Fields</legend>
            
            <div class="editor-label">
                Faculty name:
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.FacultyName) %>
                <%= Html.ValidationMessageFor(model => model.FacultyName) %>
            </div>
            <div class="editor-label">
               Description
            </div>
            <div class="editor-field">
            
              
                <%= Html.TextAreaFor(model => model.FacultyDesciption,new{@class="jwysiwyg"}) %>
                <%= Html.ValidationMessageFor(model => model.FacultyDesciption) %>
            </div>
            
            <div class="editor-label">
                Status
            </div>
            <div class="editor-field">
                        <%= Html.CheckBoxFor(model => model.Status) %>Enable ?
         
            </div>
            
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%= Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="TitleContentPlaceHolder" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PageHeadingPlaceHolder" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="SlideBarRight" runat="server">
</asp:Content>

